/**
 * @program: data_structures_algorithms
 * @description: 异或值交换
 * @author: lld
 * @create: 2021-04-08 21:06
 **/
public class Swap {
    public static void main(String[] args) {
        int a=3;
        int b=6;
        a=a^b;
        b=a^b;
        a=a^b;
        System.out.println(a);
        System.out.println(b);
    }
}
